package com.gem.dao;

import java.util.List;

import com.gem.entity.Customer;

public interface CustomerDao {
	// 添加顾客
	int insertCustomer(Customer customer);

	//删除顾客
	int deleteCustomer(Long id);

	//查询客户
	Customer selectCustomerById(Long id);

	Customer selectCustomerByName(String name);

	Customer selectCustomerByAddress(String address);

	//修改客户信息
	int updateCustomer(Customer customer);

	//查询所有学生
	List<Customer> selectAllCustomer();
}
